using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using Thaire.Investment.Domains.Master;
namespace Thaire.Investment.Repository
{
       
    class   ReferenceCodeMap : ClassMap<ReferenceCode>
    {

        public ReferenceCodeMap()
            {
                Table("REFERENCE_CODE");
                Id(x => x.ID,"REFERENCE_CODE_ID").GeneratedBy.Native();

                Map(x => x.Domain,"REFERENCE_CODE_DOMAIN");
 Map(x => x.Key,"REFERENCE_CODE_KEY");
 Map(x => x.ValueTH,"REFERENCE_CODE_VALUE_TH");
 Map(x => x.ValueEN,"REFERENCE_CODE_VALUE_EN");
 Map(x => x.Hold, "REFERENCE_CODE_HOLD");
            
            }


    }

}